package com.dios.mirage.component.fields;

import net.rim.device.api.ui.Field;

import com.dios.mirage.Mirage;
import com.dios.mirage.navigation.Navigation;

public class NavigationField extends Navigation {
	
	private Field field;
	private String title;
	
	public NavigationField(String text, Field field) {
		super(text);
		this.field = field;
		this.title = text;
	}

	protected boolean navigationClick(int status, int time) {
		Mirage.getScreen().setTtl(title);
		Mirage.getScreen().setContent(field);
		return true;
	}

	protected void createGUI() {
		// TODO Auto-generated method stub
		
	}
}
